﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="m.toidihoilo.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Tôi đi hối lộ</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div data-role="header" data-position="fixed">
        <h1>
            Trang chủ</h1>
        
        </a><a href="Post.aspx" data-icon="check" class="ui-btn-right">Đăng tin</a>
    </div>
    <div class="content-primary">
        <ul data-role="listview" class="ui-listview">
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <li data-role="list-divider" role="heading" class="ui-li ui-li-divider ui-btn ui-bar-b ui-btn-up-undefined">
                        <%# DataBinder.Eval(Container.DataItem, "City")%>
                        <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "DatePaid")).ToString("dd/MM/yyyy")%>
                        <span class="ui-li-count ui-btn-up-c ui-btn-corner-all">
                            <%# DataBinder.Eval(Container.DataItem, "TotalComment")%>
                            bình luận</span></li>
                    <li data-theme="c" class="ui-btn ui-btn-icon-right ui-li ui-btn-up-c">
                        <div class="ui-btn-inner ui-li">
                            <div class="ui-btn-text">
                                <a href="detail.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id")%>" class="ui-link-inherit">
                                    <h3 class="ui-li-heading">
                                        <%# HttpUtility.HtmlDecode(DataBinder.Eval(Container.DataItem, "Title").ToString())%></h3>
                                    <p class="ui-li-desc">
                                        <font style="color: #FF3300"><strong>Số tiền:
                                            <%# DataBinder.Eval(Container.DataItem, "AmountPaid")%></strong></font></p>
                                    <p class="ui-li-desc">
                                        <strong>Bộ phận:
                                            <%# DataBinder.Eval(Container.DataItem, "Departments")%></strong></p>
                                    <p class="ui-li-desc">
                                        <%# HttpUtility.HtmlDecode(DataBinder.Eval(Container.DataItem, "Content").ToString()).Replace(Char.ConvertFromUtf32(13).ToString(),"<br>")%>
                                    </p>
                                </a>
                            </div>
                            <span class="ui-icon ui-icon-arrow-r ui-icon-shadow"></span>
                        </div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <div data-role="footer" class="ui-bar">
        <%=html_pager %>
    </div>
</asp:Content>
